﻿using System;
using Magicodes.ExporterAndImporter.Core;
using Magicodes.ExporterAndImporter.Excel;
using OfficeOpenXml.Table;

namespace NP.BPMReportPlatform.GC.Dto
{
    [ExcelExporter(Name = "秀珀工程项目审批流程审批报表", TableStyle = TableStyles.Light10, AutoFitAllColumn = true)]
    public class GetXZGCXMSPLCHeaderOutPut
    {
        /// <summary>
        /// 流程状态
        /// </summary>
        [ExporterHeader(DisplayName = "流程状态")]
        public string OrderStatus { get; set; }

        /// <summary>
        /// 单据号
        /// </summary>
        [ExporterHeader(DisplayName = "流程编号")]
        public string InstanceNumber { get; set; }

        /// <summary>
        /// 申请时间
        /// </summary>
        [ExporterHeader(DisplayName = "申请时间")]
        public DateTime? ProcessStartTime { get; set; }

        /// <summary>
        /// 申请人
        /// </summary>
        [ExporterHeader(DisplayName = "申请人")]
        public string ProcessStartUserName { get; set; }

        /// <summary>
        /// 单据详情链接
        /// </summary>
        [IEIgnore(IsExportIgnore = true)]
        public string Url { get; set; }


        /// <summary>
        /// 标题
        /// </summary>
        [ExporterHeader(DisplayName = "标题")]
        public string Title { get; set; }

        /// <summary>
        /// 正文
        /// </summary>
        [ExporterHeader(DisplayName = "正文")]
        public string Content { get; set; }

        /// <summary>
        /// 商机号
        /// </summary>
        [ExporterHeader(DisplayName = "商机号")]
        public string BusinessOpportunityNo { get; set; }

        /// <summary>
        /// 商机名称
        /// </summary>
        [ExporterHeader(DisplayName = "商机名称")]
        public string BusinessOpportunityName { get; set; }

        /// <summary>
        /// 公司名称
        /// </summary>
        [ExporterHeader(DisplayName = "公司名称")]
        public string CompanyName { get; set; }

        /// <summary>
        /// 大区
        /// </summary>
        [ExporterHeader(DisplayName = "大区")]
        public string AreaName { get; set; }

        /// <summary>
        /// 销售部
        /// </summary>
        [ExporterHeader(DisplayName = "销售部")]
        public string Sales { get; set; }
    }
}